Part Number Hot Search : 
B1115 25001 3040C SCS715T TM8726 82401444 1H103J C144ES
Product Description
Full Text Search
 

To Download VS1003B Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  controlled document VS1003B 16/32-button player vsmpg vlsi solution audio decoder project code: project name: vsmpg revision history rev. date author description 1.06 2010-08-31 po co?2boot.exe and perl.exe in the source package (use make bins to compile and generate images). 1.05 2009-03-02 po sd-card mini player sources added. shu?e added. 1.04 2008-03-20 po changed the polynomial ?t for 32-button detection. source code packet added, but no instructions yet. 1.03 2008-01-25 po improved responsiveness of the buttons. 1.02 2008-01-10 po increased mmc/sd send op cond timeout. 1.01 2007-11-02 po 32-button version and saving of song added. 1.00 2007-10-26 po first version with 16 buttons. rev. 1.06 2010-08-31 page 1(12) vlsi solution y
po VS1003B 16/32-button player vsmpg 1. VS1003B 16/32-button player 1 VS1003B 16/32-button player all information in this document is provided as-is without warranty. features are subject to change without notice. the spi bootloader that is available in vs10xx chips can be used to add new features to the system. patch codes and new codecs can be automatically loaded from spi eeprom at startup. one interesting application is a single-chip standalone player. the standalone player application uses mmc/sd directly connected to vs1003 using the same gpio pins that are used to download the player software from the boot eeprom. the instruction ram of 1280 words (5 kilobytes) is used for mmc communication rou- tines, read-only handling of the fat and fat32 ?lesystems and a 16- or 32-button user interface. 2 no microcontroller is required , boots from spi eeprom (25lc640). 2 low-power operation 2 uses mmc/sd/sd-hc for storage. hot-removal and insertion of card is supported. 2 supports fat and fat32 ?lesystems, including subdirectories (upto 16 levels). fat12 is partially supported: subdirectories or fragmented ?les are not allowed. 2 automatically starts playing from the ?rst ?le after power-on. 2 power-on defaults are con?gurable. 2 transfer speed 4.8 mbit/s (3.5 12.288 mhz clock). 2 high transfer speed supports even 48 khz 16-bit stereo wav ?les. 2 watchdog prevents lockup situations in mmc communication. 2 16/32-button interface allows pause/play, shu?e play and loudness toggle, song selection, and volume control. 2 optional led for user interface feedback 2 saves the last played song to eeprom. the playback will start from this song after next power-on. source code is now available to enable and disable di?erent features, including save position, loop files (play each ?le until a new ?le selected), pause before play (goes to pause mode before each ?le, press play to start play- back), and customizing the actions for user interface buttons. rev. 1.06 2010-08-31 page 2(12) vlsi solution y
po VS1003B 16/32-button player vsmpg 2. spi eeprom and mmc/sd 2 spi eeprom and mmc/sd figure 2.1: spi-boot and mmc connection the standalone player software is loaded from spi eeprom at power-up or reset when gpio0 is tied high with a pull-up resistor. the memory has to be an spi bus serial eeprom with 16-bit addresses. the player code currently requires almost 5 kb, thus at least 8 kb spi eeprom is recommended. spi boot and mmc/sd usage rede?nes the following pins: pin spi boot other gpio0 swcs (eeprom xcs) 100 k pull-up resistor gpio1 swcs2 (mmc xcs) also used as spi clock during boot dreq swmosi gpio2 swmiso 100 k between xspi & swmiso, 680 k to gnd gpio3 swclk (mmc clk) data clock for mmc, 10 m to gnd pull-down resistors on gpio2 and gpio3 keep the mmc clk and data in valid states on powerup. defective or partially defective mmc cards can drive the cmd (di) pin until they get the ?rst clock. this interferes with the spi boot if mmcs drive capability is higher than vs10xxs. so, if you have powerup problems when mmc is inserted, you rev. 1.06 2010-08-31 page 3(12) vlsi solution y clk sosi sck cs cs gpio0gpio1 gpio2gpio3 dreq 25lc640 rxxreset swmisoswmosi swclk note: mmc's /cs and clk has been swapped from previous version swcsswcs2 cmd/didata/do vs10xx mmc/sd
po VS1003B 16/32-button player vsmpg 2. spi eeprom and mmc/sd need something like a 330 resistor between swmosi (dreq) and mmcs cmd/di pin. normally this resistor is not required. to prevent the mmc/sd from interfering with the spi eeprom boot, mmcs chip select and clock inputs are swapped compared to the spi eeprom. this way mmc does not get clocked during the spi boot and the system should work with all mmcs. because the swap only occurred on the mmc pins, the spi eeprom connection is unchanged! rev. 1.06 2010-08-31 page 4(12) vlsi solution y
po VS1003B 16/32-button player vsmpg 3. 16-button user interface 3 16-button user interface figure 3.1: 16-button interface connection a 16-button interface is implemented with 16 buttons and a 17 resistors. a 1 nf capacitor is used for noise ?ltering and to bias the line input. there are no other connections than shown here in the line input pin. supply voltage for the resistor ladder is taken from gbuf to remove chip-to-chip gain variation in ad conversion. the gbuf pin has additional connections, as it is also used as the common voltage for the headphones. only one button is detected simultaneously. if two adjacent buttons are pressed, normally one of them is detected. the user interface provides the most needed controls. button short keypress long keypress b1 volume down volume down b2 volume up volume up b3 pause/play play mode: toggle loudness pause mode: toggle shu?e play b4 previous song b5 next song b6 song #1 b7 song #2 .. .. b16 song #11 the number of buttons can also be 32 (continue the button chain by adding 16 buttons and 10 k resistors for each). remember to use the right eeprom image (player1003- 32but.bin or player1003nw-32but.bin). a led indicates system activity. in play mode a long blink of the led indicates loudness on, in pause mode a long blink indicates shu?e play on. otherwise the led shows mmc activity. in pause mode the led lights up dimly. rev. 1.06 2010-08-31 page 5(12) vlsi solution y swmosi dreq xdcssi sclk xcs 1 kohmminimum optional led vs1003 gbufline 10k10k 10k 10k 10k10k 10k 10k 10k 10k10k 10k 10k 10k10k 10k 10k b1b2 b3 b4 b5b6 b7 b8 b9b10 b11 b12 b13b14 b15 b16 1n
po VS1003B 16/32-button player vsmpg 3. 16-button user interface 3.1 boot images the spi eeprom boot images can be found from the code/ subdirectory. note that this application is highly chip-speci?c. it only works on the exact ?rmware versions mentioned. you can also select a version that does not play wma ?les. if you use that version in your product, a wma license should not be required. there are also versions that support 32 buttons, and a version for the sd-card mini player. see sd-card mini player pages for schematics. chip file features VS1003B player1003but.bin 16-button interface, watchdog VS1003B player1003nwbut.bin 16-button interface, watchdog, no wma VS1003B player1003-32but.bin 32-button interface, watchdog VS1003B player1003nw-32but.bin 32-button interface, watchdog, no wma VS1003B player1003-3but.bin sd-card mini player 3.2 power-on defaults default values are loaded from spi eeprom at power-on reset. before the mmc/sd card is ?rst accessed after power-on, approximately 22 ms delay is executed. the startup delay time can be changed from the boot image. the middle bytes in the string 0x00 0x12 0x34 0x0e contain the default value 0x1234 (22 ms). this value can be changed between 0x0000 (0 ms) and 0x3?f (80 ms). do not change the 0x00 and 0x0e bytes. the input clock is assumed to be 12.288 mhz. if you want to use a di?erent crystal, the sci clockf value can be found from byte o?sets 10 and 11 in the boot image. the default value is 0xa000 (3.5 12.288 mhz) for VS1003B. you can reduce the power consumption a bit by using 0x8800 (3.0 ..3.5 12.288 mhz). volume (sci vol) default value is in byte o?sets 26 and 27. loudness default is in byte o?sets 32 and 33 (treble and bass controls, respectively). the bass control value should be odd to make the loudness indicator led blink work. sci bass default value is in byte o?sets 8 and 9. if you want the loudness on by default, replace bytes 8 and 9 in the image with the same values you use as the loudness default in o?sets 32 and 33. o?set register default meaning 8, 9 sci bass 0x0000 bass enhancer control at power-up 10, 11 sci clockf 0x9800 clock control (for VS1003B/33c 0xa000) 26, 27 sci vol 0x2020 power-up volume, left and right channel 28, 29 sci aictrl0 0 song number to play at power-up 32, 33 sci aictrl2 0x33d9 treble and bass control for loudness 34, 35 sci aictrl3 0 play mode & miscellaneous con?guration rev. 1.06 2010-08-31 page 6(12) vlsi solution y
po VS1003B 16/32-button player vsmpg 4. recorder and sci control 4 recorder and sci control because the buttons are connected to the line input, and VS1003B only has one ad channel, standalone recorder is not possible. if you want sci control, just use the sci-controlled player from the general standalone player application. rev. 1.06 2010-08-31 page 7(12) vlsi solution y
po VS1003B 16/32-button player vsmpg 5. example implementation 5 example implementation the 16-button player was implemented by using the vs10xx prototyping board. the jumpers connecting the 3-button interface were removed, and an expansion card contain- ing the 16 buttons was attached. figure 5.1: 16-button player in prototyping board the following example schematics contains a simple implementation for VS1003B. power generation and player logic are separated. note: the schematics is a stripped-down version of the prototyping board. the three-button interface is disabled and the 16-button interface is added. use the attached schematics as a basis for your own designs and refer to the prototyping board schematics when you work with the prototyping board. rev. 1.06 2010-08-31 page 8(12) vlsi solution y
po VS1003B 16/32-button player vsmpg 5. example implementation note: optional resistor r7 ?xes problems with some mmcs (chapter2). rev. 1.06 2010-08-31 page 9(12) vlsi solution y
po VS1003B 16/32-button player vsmpg 6. document version changes 6 document version changes 6.1 version 1.05, 2009-03-02 2 software for sd-card mini player included in the sources. note that the sd-card mini player has di?erent schematics, which is not reproduced here. 2 random play changed to shu?e play. in shu?e mode all ?les are played once in random order. when all ?les have been played a new order is selected. 6.2 version 1.04, 2008-03-20 2 changed the polynomial ?t for 32-button detection. 2 source code packet added to code/sources.zip. does not yet contain any compile instructions. 6.3 version 1.03, 2008-01-25 2 improved responsiveness to button presses. 6.4 version 1.02, 2008-01-10 2 increased the mmc send op cond / sd send op cond timeout value, be- cause one microsd needed it. 6.5 version 1.01, 2007-11-02 2 added 32-button version. 2 added saving of last played song. 6.6 version 1.00, 2007-10-26 2 first version with 16 buttons. rev. 1.06 2010-08-31 page 10(12) vlsi solution y
po VS1003B 16/32-button player vsmpg 7. playing order 7 playing order the playing order of ?les is not the same order as how they appear in windows ?le browser. the ?le browser sorts the entries by name and puts directories before ?les. it can also sort the entries by type, size or date. the standalone player does not have the resources to do that. instead, the player handles the ?les and directories in the order they appear in the cards ?lesystem structures. if the ?lename su?x does not match any of the valid ones for the speci?c chip, the ?le is ignored. normally the order of ?les and directories in a fat ?lesystem is the order they were created. if ?les are deleted and new ?les added, this is no longer true. also, if you copy multiple ?les at once, the order of those ?les can be anything. so, if you want a speci?c play order: 1) only copy ?les into an empty card, 2) copy ?les one at a time in the order you like them played. there are also programs like lfnsort that can reorder fat16/fat32 entries by dif- ferent criteria. see http://www8.pair.com/dmurdoch/programs/lfnsort.htm . the following picture shows the order in which the player processes ?les. first dir1 and then dir2 has been created into an empty card, then third.jpg is copied, dir3 is created and the rest of the ?les have been copied. song.mid was copied before start.wav , and example.mp3 was copied before song.mp3 because they appear in their directories ?rst. figure 7.1: play order with subdirectories because dir1 appears ?rst, all ?les in it are processed ?rst, in the order they are located inside dir1 , then ?les in dir2 . because third.jpg appears in the root directory before dir3 , it is next but ignored because the su?x does not match a supported ?le type, then ?les in dir3 , and ?nally the last root directory ?le fourth.wma . rev. 1.06 2010-08-31 page 11(12) vlsi solution y root third.jpgfourth.wma song.midstart.wav example.mp3 song.mp3 jump.wma 12 3 4 5 6 dir1/dir2/ dir3/
po VS1003B 16/32-button player vsmpg 7. playing order if dir2 is now moved inside dir3 , the playing order changes as follows. figure 7.2: play order with nested subdirectories rev. 1.06 2010-08-31 page 12(12) vlsi solution y root third.jpgfourth.wma song.midstart.wav example.mp3song.mp3 jump.wma 12 3 45 6 dir1/dir3/ dir2/


▲Up To Search▲   

 
Price & Availability of VS1003B

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X